﻿@model AFT.Parking.Entity.MallLinePoint
@{
    ViewBag.Title = "添加线路节点信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
    <script src="/resources/scripts/ajaxfileupload.js"></script>
}
<div class="content-box">
    <div class="content-box-header">
        <h3>添加线路节点信息</h3>
        <div class="clear"></div>
    </div>
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab2">
            <form method="post" id="frm">
                <fieldset>
                    @Html.HiddenFor(m => m.MallLocationId)
                    @Html.HiddenFor(m => m.ScanCodeAndLocationId)
                    <p>
                        <label>节点名称</label>
                        @Html.TextAreaFor(m => m.Name, new { @class = "text-input small-input" })
                    </p>
                    <p>
                        <label>X轴</label>
                        @Html.TextAreaFor(m => m.LocationX, new { @class = "text-input small-input" })
                    </p>
                    <p>
                        <label>Y轴</label>
                        @Html.TextAreaFor(m => m.LocationY, new { @class = "text-input small-input" })
                    </p>
                    <p>
                        <label>排序</label>
                        @Html.TextAreaFor(m => m.Sort, new { @class = "text-input small-input" })
                    </p>

                    <p>
                        <input class="button" type="submit" id="btnSubmit" value=" 保 存 " />
                        <input class="button" type="button" id="btnBack" value=" 返 回 " />
                        <input type="hidden" id="hd_backUrl" value="@Url.Action("List","ScanCodeBinding")">
                    </p>
                </fieldset>
                <div class="clear"></div>
            </form>
        </div>
    </div>
</div>

@if (ViewBag.Message != null)
{
    <script type="text/javascript">
        alert("@ViewBag.Message");
    </script>
}